package com.xhsj.user.pms.workflow.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 流程定义表
 * </p>
 *
 * @author suxiaolin
 * @since 2020-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_pam_workflow")
public class Workflow extends Model<Workflow> {
    /**
     * 流程定义表主键
     */
    @TableId("workflow_id")
    private String workflowId;

    /**
     * 流程定义名称
     */
    @TableField("flow_name")
    private String flowName;

    /**
     * 流程描述
     */
    @TableField("flow_description")
    private String flowDescription;
    /**
     * 版本号
     */
    @TableField("version")
    @Version
    private String version;

    private static final long serialVersionUID = 1L;

}